<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  	<head> 
	    <title>代理商注册</title>
	    <meta http-equiv="X-UA-Compatible" content='IE=edge' />
	     <%@ include file="/inc/info.inc" %>
	    <link rel="stylesheet" href="/fw/pages/agent/css/agentAdd.css"/>
		<script type="text/javascript" src="js/agentAdd.js"></script>
  	</head>
  	<body>
	 	<div id="agentAdd" class="hd_page">
			<div><%@ include file="../manage/hd_head.jsp"%></div>
	  		<div class="content">
		  		<div class="form-title">代理商注册</div>
		 		<form id="agentAddForm" class="form-horizontal">
					<div class="form-group">
						<label class="col-sm-4 control-label no-padding-right">名称：</label>
						<div class="col-sm-8">
							<input type="text" class="form-control" id="agentName"/>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-4 control-label no-padding-right">密码：</label>
						<div class="col-sm-8">
							<input type="text" class="form-control col-6p" id="agentPwd"/>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-4 control-label no-padding-right">确认密码：</label>
						<div class="col-sm-8">
							<input type="text" class="form-control col-6p" id="agentPwd2"/>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-4 control-label no-padding-right">座机号码：</label>
						<div class="col-sm-8">
							<input type="text" class="form-control col-6p" id="agentPhone1"/>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-4 control-label no-padding-right">手机号码：</label>
						<div class="col-sm-8">
							<input type="text" class="form-control col-6p" id="agentPhone2"/>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-4 control-label no-padding-right">邮箱：</label>
						<div class="col-sm-8">
							<input type="text" class="form-control col-6p" id="agentEmail"/>
						</div>
					</div>
					<div class="form-group">
								<label class="col-sm-4 control-label no-padding-right">地区： </label>
								<div class="col-sm-3">
								     <select class="form-control province" id="province" onchange="provinceChange()">
								        <option>请选择省</option>
								     </select>
								</div>
								<div class="col-sm-3">
								     <select class="form-control city" id="city">
								        <option>请选择市</option>
								     </select>
								</div>
							</div>
				   <div class="form-group">
						<label class="col-sm-4 control-label no-padding-right">详细地址：</label>
						<div class="col-sm-8">
							<input type="text" class="form-control col-6p" id="addr"/>
						</div>
					</div>
					<div id='alertdiv'></div>
					<div class="alert alert-danger" style="display: none;"></div>
					<div class="form-group">
					 	<div class="form-btns col-sm-8 col-md-offset-4">
							<button onclick="add()" type="button"  class="btn btn-success">确定注册</button>
					 	</div>
					</div>
			 	</form>
		 	</div>
	 	    <div><%@ include file="/pages/manage/footer.jsp"%></div>
	 	</div> 
  	</body>
</html>
